<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet"%>
<%@ taglib uri="http://liferay.com/tld/portlet" prefix="liferay-portlet"%>
<%@ taglib uri="http://liferay.com/tld/security" prefix="liferay-security"%>
<%@ taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme"%>
<%@ taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui"%>
<%@ taglib uri="http://liferay.com/tld/aui" prefix="aui"%>
<%@ page import="com.liferay.portal.kernel.util.ParamUtil"%>
<%@ page import="javax.portlet.PortletPreferences"%>

<portlet:defineObjects />

<%
	PortletPreferences prefs = renderRequest.getPreferences();
	String greeting = (String)prefs.getValue("saludo", "Hola, bienvenido al portal!.");
%>

<liferay-ui:success key="exito" message="se ha guardado con exito!" />

<portlet:actionURL var="editSaludoURL" name="editSaludo">

</portlet:actionURL>

<aui:form action="<%= editSaludoURL %>" method="post">
	<aui:input label="saludo" name="saludo" type="text" value="<%=greeting %>" />
	<aui:button type="submit" />
</aui:form>

